{if !$is_ajax}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<title>{$page_title|default:"Kudostar"}</title>
	
	<style type="text/css">
		@import url(/css/global.css);
		@import url(/css/main.css);
		@import url(/css/chocolate.css);
	</style>
	
	<script type="text/javascript" src="/js/jquery-1.2.min.js"></script>
	<script type="text/javascript" src="/js/rsh.js"></script>
	<script type="text/javascript" src="/js/dash.js"></script>

</head>

<body id="{$body_id|default:"home"}" {if $_session.user}class="logged_in"{/if}>
<!--[if IE]><div id="ieonly"><![endif]-->
	<div class="container">
		{if ! $no_header}
		<div class="top">
			<div class="header_bar">
				<h1>KudoStar: The mobile social rating system.</h1>
			</div>
		</div>
		{/if}
		
		<div class="sidebar">
			<div class="grey-box spacer-bottom">
				<ul>
					<li id="nav_home"><a href="/" class="icon home-page">Home</a></li>
					<li id="nav_about"><a href="/about" class="icon about-page">About</a></li>
					<li id="nav_news"><a href="/news" class="icon news-page">News</a></li>
					<li id="nav_code"><a href="http://code.google.com/p/kudostar/" class="icon code-page">Code</a></li>
					<li id="nav_discussion"><a href="http://groups.google.com/group/kudostar-discuss" class="icon discussion-page">Discussion</a></li>
				</ul>
				
				<br class="clear" />
			</div>
			
			{include file="partials/google_group_small.tpl"}
			
			{include file="partials/login_small.tpl"}
		</div>
		
		<div class="main_content">
{/if}
